<?php

namespace Wonfu\Core\Route;

class RouteInfo
{

    /**
     * @var int
     */
    private $code;

    /**
     * @var array
     */
    private $callable;

    /**
     * @var array
     */
    private $parameter;

    /**
     * @return int
     */
    public function getCode(): int
    {
        return $this->code;
    }

    /**
     * @param int $code
     */
    public function setCode(int $code): void
    {
        $this->code = $code;
    }

    /**
     * @return array
     */
    public function getCallable(): array
    {
        return $this->callable;
    }

    /**
     * @param array $callable
     */
    public function setCallable(array $callable): void
    {
        $this->callable = $callable;
    }

    /**
     * @return array
     */
    public function getParameter(): array
    {
        return $this->parameter;
    }

    /**
     * @param array $parameter
     */
    public function setParameter(array $parameter): void
    {
        $this->parameter = $parameter;
    }


}